package com.guardian.apis.content.service {    import flexunit.framework.TestCase;    import flash.utils.getTimer;        /**     * Hacky little workaround to the Mashery's one-request-per-second restriction.     *      * @author Alastair Dant     */    public class WaitTwoSeconds extends TestCase     {        public function WaitTwoSeconds(methodName : String = null)        {            super(methodName);        }                public function testWaitForTwoSeconds():void        {        	waitFor(2000, getTimer());        }                private function waitFor(ms:Number, fromTime:Number) : void        {        	while(getTimer() < (fromTime + ms))        	{        		// force a synchronous wait            }        }    }}